at 12:00 "shutdown -s -t 60"为什么到了12:00没有执行命令?
来源:百度知道 编辑:UC知道 时间:2024/05/26 19:46:31
at 12:00 "shutdown -s -t 60"为什么到了12:00没有执行命令?
错在哪里了?如何解决
错在哪里了?如何解决
不能用""。
开始-运行
at 12:00 shutdown -s -t 60
你是用VBS写的关机脚本?可以用定时关机的软件啊。如果就凭这么一句语句,是作不到的。
给你一个定时关机的脚本:
set myshell=wscript.creatobject("wscript.shell")
dim currenttime
dim aa
currenttime=hour(time)
aa=currenttime
do
currenttime=hour(time)
loop until currenttime >=aa+0.5
if currenttime <=17 then
myshell.run "shutdown -s -t 10 -c 系统即将关闭 -f"
else
myshell.run "shutdown -s -t 10 -c 系统即将关闭 -f"
end if
这个脚本是判断如果到了17点就提示10秒后关机。
at 12:00 "shutdown -s -t 60"为什么到了12:00没有执行命令?
网友教我用"开始-运行 输入at 12:00 Shutdown- s"的方法来关机,如何取消呢?
"4.5 AT/MT" 是什么意思?
英语"at once"的解释
"at eight"的汉语意思
运行程序出现错误总是提示“Runtime error 203 at 00D324C8"怎么解决
翻译“at the time of graduation"
安装和卸载金山毒霸时总出现一个对话框"Runtime error 123 at 00DBFA5F"
如何区分“to","at","for","with"
"ON""IN""AT"的区别